<table id="table" align="center" cellpadding="4" cellspacing="1" width=90% >
<tbody>
<tr id="header">
<td align="center" nowrap="nowrap">Листинг <a {$backlink} >[ Назад ]</a> <a {$reloadjs} >[ Обновить ]</a></td><td align=right>{$smallmenu}</td>
<tr id="firstline">
<td align="left" nowrap="nowrap" valign="middle">Перейти в</td>
<td align="left" nowrap="nowrap" valign="middle"><input type=text size=35 name='dir_{$fild}' id='dir_{$fild}' value="{$nowdir}"><input type=button class='button' name='dirok' value='ОК' {$dirjs}></td>
<tr id="secondline">
<td align="left" nowrap="nowrap" valign="middle">Быстрый поиск</td>
<td align="left" nowrap="nowrap" valign="middle"><input type=text size=35 name='search_{$fild}' id='search_{$fild}' ><input type=button name='search' class='button' value='Искать' {$searchjs} ></td>
</tbody>
</table> <br><br>

<table id="table" align="center" cellpadding="4" cellspacing="1" width="90%">
<tbody>
<tr id="header">
<td align="center" nowrap="nowrap">Файл/Папка</td>
<td align="center" nowrap="nowrap">Размер</td>
<td align="center" nowrap="nowrap">Создан</td>
<td align="center" nowrap="nowrap">Изменён</td>
<td align="center" nowrap="nowrap">Действия</td>
</tr>
{section name=i loop=$info}
<tr id="{if $smarty.section.i.index%2==0}firstline{else}secondline{/if}">
<td align="left" nowrap="nowrap" valign="middle">{if $info[i].type=='dir'}<img src='{$path}/kat.gif'> {$info[i].name}{/if}{if $info[i].dload && $info[i].type!=='img'}<img src="{$path}/archives.png" align=left> <a href="download.php?id={$info[i].did}" target=_blank title="Скачать {$info[i].name}">{$info[i].name}</a>{elseif $info[i].type=='file' || !$info[i].type}<img src="{$path}/page.png" align=left> {$info[i].name}{elseif $info[i].type=='zip'}<img src="{$path}/zip.png" align=left> {$info[i].name}{elseif $info[i].type=='img'}<img src="{$path}/img.png" align=left> <a href="{$info[i].link}" target=_blank title="Просмотр {$info[i].name}">{$info[i].name}</a>{if !empty($info[i].tumblink)}<br><a href="{$info[i].tumblink}" target=_blank >[ Уменьшенная копия ]</a>{if $info[i].dload}<br><a href="download.php?id={$info[i].did}" target=_blank title="Скачать {$info[i].name}">[ Скачать Картинку ]</a>{/if}{/if}{/if}</td>
<td align="left" nowrap="nowrap" valign="middle">{$info[i].size}</td>
<td align="left" nowrap="nowrap" valign="middle">{$info[i].makedata}</td>
<td align="left" nowrap="nowrap" valign="middle">{$info[i].editdata}</td>
<td align="left" nowrap="nowrap" valign="middle">{$info[i].actions}</td>
</tr>
{/section}
</tbody>
</table><br><hr><br>
